<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <img src="" id="img" alt="">
    <script>
        // let img = document.createElement('img')
        // img.src = 'https://img.zcool.cn/community/01aec45f6045a811013e3187e08004.jpg@1280w_1l_2o_100sh.jpg'
        // document.body.appendChild(img);
        var img = document.getElementById('img')
        var src = 'https://img.zcool.cn/community/01aec45f6045a811013e3187e08004.jpg@1280w_1l_2o_100sh.jpg'

        var ProxyImg = function (src, eml) {
            var img = new Image()
            img.src = src
            img.onload = function() {
                eml.src = src
            }
            eml.src = 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1600188164863&di=b9659862a08b66962ceae24c0fe890cd&imgtype=0&src=http%3A%2F%2Fimg.mp.itc.cn%2Fupload%2F20170623%2F00cc8bcea068433383d9d75d594b1321.jpg'
        }
        ProxyImg(src, img)

        var kuaidi100Proxy = function() {

        }
        kuaidi100Proxy.prototype.getOrder = function() {

        }
        var cainiaoProxy = function() {
            
        }
        cainiaoProxy.prototype.getOrder = function() {
            
        }
    </script>
</body>
</html>
